HAL QSPI macro migration ¶
This section provides information about the HAL QSPI macro migration.
HAL QSPI clear flag ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_CLEAR_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE void HAL_XSPI_ClearFlag(hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL QSPI disable ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_DISABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|
HAL QSPI disable IT ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_DISABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_DisableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL QSPI enable ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_ENABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_SetConfig(hal_xspi_handle_t *hxspi, const hal_xspi_config_t *p_config)
|
HAL QSPI enable IT ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_ENABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_EnableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL QSPI get flag ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_GET_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE hal_xspi_flag_status_t HAL_XSPI_IsActiveFlag(const hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL QSPI get IT source ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE uint32_t HAL_XSPI_IsEnabledIT(const hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL QSPI reset handle state ¶
|
HAL1 |
HAL2 |
|---|---|
__HAL_QSPI_RESET_HANDLE_STATE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|